package com.qiji.video.service;

import com.github.pagehelper.PageInfo;
import com.qiji.video.bean.VideoPartition;
import com.qiji.video.bean.Videos;
import com.qiji.video.bean.vo.VideosAllVo;
import com.qiji.video.bean.vo.VideosSearchVo;
import com.qiji.video.util.Result;

import java.util.List;

public interface IVideoDisplayService {
    // 无参查询视频(热门搜索) @ltz
    List<VideosSearchVo> hotSearch();

    PageInfo<VideosAllVo> pageInfoByName(Integer pageNum, Integer pageSize, String name);

    List<Videos> carouselSelect(Integer id);

    //视频详情查询分区
    List<VideoPartition> selectPartition();
    //查询分区类型
    Result selectPartitionType(Integer id);
    //分区视频展示
    List<Videos> selectPartitionVideos(Integer id,Integer state);

    List<Videos> mayLike(Integer id);
}
